home *** CD-ROM | disk | FTP | other *** search
- /*
- * xrt.h - cross-reference table interface
- */
- #include "ln_seq.h"
-
- class xrt
- {
- public:
- xrt();
- ~xrt();
- void add(char *w, unsigned n);
- void print(void);
- private:
- class treenode
- {
- public:
- treenode(unsigned n);
- ~treenode();
- char *word;
- ln_seq lines;
- treenode *left, *right;
- };
- treenode *root;
- };
-
-
-